﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DealerJudge.App;
using DealerJudge.Entity;

namespace DealerJudge.Web.Models
{
    public class HomeModel
    {
        public List<Category> GetDealerCategory()
        { 
            IDealerManager dealerMgr = DealerManagerFactory.GetDealerManager();
            return dealerMgr.GetCategory();
        }
    }
}